<div class="sidebar-right">
    <!--标题-->
    <div class="sidebar-right-title">
        <div class="sidebar-right-title-l">规则包管理</div>
        <div class="clear"></div>
    </div>
    <!--标题结束-->
    <!--详细内容-->
    <div class="engine-tab-content project-management">
        <!--搜索-->
        <!--<div class="engine-test-manage engine-business">
            <div class="engine-test-manage-l">
                <input type="text" placeholder="规则包名称" class="project-name">
                <i class="icon-engine-search"></i>
            </div>
            <div class="engine-test-manage-r">
                <button type="button" class="engine-btn-default" ng-click="actions.openEditView()"><i class="icon-engine-plus"></i>新增</button>
            </div>
            <div class="clear"></div>
        </div>-->
        <div class="engine-test-manage engine-business">
            <div class="engine-test-manage-l">
                <input type="text" placeholder="规则包名" class="project-name" ng-model="package.name" ng-keyup="myKeyup($event)">
                <i class="engine-delete" ng-show="removeShow" ng-click="deleteInput()" style="position:absolute;right:10px;top:1px;color:#999;"><img src="/static/images/close.png"></i>
            </div>

            <div class="engine-test-manage-l" style="margin-left: 5px">
                <input type="text" placeholder="规则包编码" class="project-name" ng-model="package.artifactId" ng-keyup="myKeyup($event)">
                <i class="engine-delete" ng-show="removeShow" ng-click="deleteInput()" style="position:absolute;right:10px;top:1px;color:#999;"><img src="/static/images/close.png"></i>
            </div>
            <div class="engine-test-manage-l" style="margin-left: 5px">
                <input type="text" placeholder="简介" class="project-name" ng-model="package.remark" ng-keyup="myKeyup($event)">
                <i class="engine-delete" ng-show="removeShow" ng-click="deleteInput()" style="position:absolute;right:10px;top:1px;color:#999;"><img src="/static/images/close.png"></i>
            </div>

            <button type="button" class="engine-btn-default"ng-click="actions.search()" style="margin-left: 10px">查询</button>
            <div class="clear"></div>
        </div>
        <!--搜索结束-->
        <!--表格-->
        <g-data-source url="/grule-manager/rulePackage" allow-auto-load="true" page="true" data-source-name="PackageDataSource"></g-data-source>
        <div>
            <g-data-grid data-source-name="PackageDataSource"
                         data-on-load-success="empGridSuccess(grid, source)"
                         data-checked-rows="empCheckedRows"
                         g-height="291">
                <g-column width="20%" data="packageName">
                    规则包名
                </g-column>
                <g-column data="remark">简介</g-column>
                <g-column data="version">编辑版本</g-column>
                <g-column data="projectName">归属项目</g-column>
                <g-column width="330">
                    操作
                    <g-column-tmpl>
                        <a class="btn icon-engine-edit" title="编辑" href="/html2/home#/projects/{{row.projectId}}/packages/{{row.id}}?sign"></a>
                        <a class="btn icon-engine-delete" title="删除" ng-click="actions.deletePackage(row.id)"></a>
                        <a class="btn" ng-click="actions.authority(row.id,2)" title="能查看监控,审核规则">运维授权</a>
                        <a class="btn" ng-click="actions.authority(row.id,1)" title="能浏览项目,并操作规则包">操作人授权</a>
                        <a class="btn" ng-click="actions.searchPath(row)" title="显示具体项目路径">项目路径</a>

                    </g-column-tmpl>
                </g-column>
            </g-data-grid>
            <g-pagination-navi source-name="PackageDataSource" refreshable="true"></g-pagination-navi>
            <g-pagination-size source-name="PackageDataSource"></g-pagination-size>
        </div>
    </div>
</div>